<?php $title      = isset($title)      ? $title : '' ?>
<?php $title_size = isset($title_size) ? sprintf('font-size: %spx;', $title_size) : '' ?>
<?php $text_size  = isset($text_size)  ? sprintf('font-size: %spx;', $text_size)  : '' ?>

<table class="content page_block" cellspacing=0 cellpadding=0 width="100%" border="0">
  <?php if (has_slot('breadcrumb')): ?>
    <?php include_slot('breadcrumb') ?>
  <?php endif; ?>
<tr>
  <td valign="top" style="padding-top: 3px;">
    <div class="content_div" style="padding: 3px 7px 0px;">
    
      <table width="100%" cellspacing="0" cellpadding="5" border="0">
      <tr class="title">
        <td width="100%">
          <span style="padding-left: 6px;">
            &nbsp;
          </span>
        </td>
      </tr>
      <tr>
        <td>
      <table class="form normal" cellspacing="1" cellpadding="5" align="left" width="50%" border="0">
      <tr>
        <td class="popup_dialog_body_left_padded" style="vertical-align: top;" align="center" width="100%" colspan="2" valign="top">
          <?php if (isset($header_image)): ?>
            <?php include_partial('Printing/navigation_image',array('header_image'=> $header_image)) ?>
          <?php endif; ?>
        </td>
      </tr>
      <tr>
        <td class="popup_dialog_body_left_padded" style="vertical-align: top;" width="100%" align="center" colspan="2">
           <span style="<?php echo $title_size ?>; color: #2B7DC7">
             <b><?php echo $title; ?></b>
           </span>
           <br /><br />
        </td>
      </tr>
      
      <?php if (isset($text)): ?>
      <tr>
        <td class="popup_dialog_body_left_padded" style="vertical-align: top;" width="100%" align="center" colspan="2">
          <span style="<?php echo $text_size ?>"><?php echo $text ?></span>
        </td>
      </tr>
      <?php endif; ?>
      
      <tr>
        <td class="popup_dialog_body_left_padded" style="vertical-align: top;" width="50%" align="center">
          <?php echo image_tag($printer_image, array()) ?>
        </td>
        <td class="popup_dialog_body_left_padded" style="vertical-align: middle;" width="50%" align="center">
          <?php echo image_tag($label_image, array('size' => '160x100')) ?>
        </td>
      </tr>
      
      <tr style="vertical-align: top;">
        <td align="center" valign="bottom" height="25"  style="border-right: 2px ridge black;" width="50%">
	      <?php if (isset($other_actions)): ?>
	        <?php include_partial('Printing/other_actions', array('other_actions' => $other_actions)) ?>
	      <?php endif; ?>
        </td>
        <td align="center" valign="middle" height="25" width="50%">
	      <?php if (isset($slot1)): ?>
	        <?php include_slot($slot1) ?>
	      <?php endif; ?>
        </td>
      </tr>
      </table>
        
      <tr>
        <td valign="top" style="padding-top: 3px;">
          <?php if (has_slot('extra')): ?>
	        <?php include_slot('extra') ?>
          <?php endif; ?>
        </td>
      </tr>
      
      </table>
      
    </div>
    
  </td>
</tr>

<tr>
<td>&nbsp;</td>
</tr>
</table>